<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@include file="../../common/includeBaseSet.jsp" %>
<%@include file="../../common/operation_forbid.jsp" %>
<%@include file="../../common/jsVersion.jsp"%>
<!DOCTYPE html >
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>客户跟进列表</title>
    <!-- neptune -->
     <link rel="stylesheet" type="text/css"  href="${jypath}/static/ext/resources/ext-theme-gray/ext-theme-gray-all.css" />
     <script type="text/javascript" src="${jypath}/static/ext/ext-all.js"></script>
	 <script type="text/javascript" src="${jypath}/static/ext/locale/ext-lang-zh_CN.js"></script>
	 <script type="text/javascript" src="${jypath}/static/js/customer/follow/followList.js?v=${jsVersion}"></script> 
 	  <script type="text/javascript" src="${jypath}/static/js/jquery/json2.js"></script> 
	 
	 <script type="text/javascript">
		var idata = '${permitBtn}';
		var projects = JSON.parse('${projects}');
		var projectId = "${projectId}";
		if(projectId!=""){
			projectId = parseInt(projectId);
		}
		var cbstore = new Ext.data.Store({
		   	autoDestroy: true,
		    fields :["projectName","id"],
		   	data : projects
		});
			    
		cbstore.load();
		 
	  	if(idata!=null||idata!=""){
			idata=JSON.parse(idata);
		}
	  	var followDelete = true ;
	  	if(Ext.Array.contains(idata,"customer:follow:delete")){
	  		followDelete=false;
	  	}
	  	
	  	var followDownLoad = true;
		if(Ext.Array.contains(idata,"customer:follow:downLoad")){
			followDownLoad=false;
	  	}
	 </script>
</head>
<body>
</body>
</html>